<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<title>CodeIgniter To do List Application</title>

<meta name="keywords" content="" />
<meta name="description" content="" />
<base href= <?php echo "$base"; ?> >
<link rel="stylesheet" type="text/css" href="<?php echo "$base/$css";?>">
<!--<link rel="stylesheet" type="text/css" href="default.css" /> -->
</head>
<body>
<div id="upbg"></div>

<div id="outer">


	<div id="header">
		<div id="headercontent">
			<h1>Zenlike<sup>1.0</sup></h1>
			<h2>A free design by NodeThirtyThree</h2>
		</div>
	</div>


	<form method="post" action="">
		<div id="search">
			<input type="text" class="text" maxlength="64" name="keywords" />
			<input type="submit" class="submit" value="Search" />
		</div>
	</form>


	<div id="headerpic"></div>

	
	<div id="menu">
		<!-- HINT: Set the class of any menu link below to "active" to make it appear active -->
		<ul>
			<li><a href="#">Home</a></li>
			<li><a href="#" class="active">News</a></li>
			<li><a href="#">Blog</a></li>
			<li><a href="#">Gallery</a></li>
			<li><a href="#">About</a></li>
			<li><a href="#">Contact</a></li>
		</ul>
	</div>
	<div id="menubottom"></div>
	
	<div id="content">

	<h1>Add new to do task</h1>
	<br>
	<?php echo validation_errors(); ?>
 
	<form method="post" action="<?php echo site_url('todo/add')?>" >
		<label>Title</label><br/>
		<input type="text" name="title" value="<?php echo set_value('title'); ?>" /><br/>
		<label>Description</label><br/>
		<textarea name="description"><?php echo set_value('description'); ?></textarea><br/>
		<input type="submit" value="Add to do"/><br/>
	</form>
 
</body>
</html>

